package com.bndg.shu.shuyinyangshi.engine;

import android.content.Context;
import android.database.DatabaseErrorHandler;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

import java.io.File;

/**
 * Created by r on 17/3/22.
 */

public class DataBaseHelper extends SQLiteOpenHelper {


    private static final String DB_NAME = "MyApp.db";
    private Context mContext;
    private SQLiteDatabase mDataBase;
    private boolean isOpen;

    public DataBaseHelper(Context context) {
        super(context, DB_NAME, null, 1);
        this.mContext = context;
    }

    @Override
    public void onCreate(SQLiteDatabase db) {

    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }

}
